﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    public class CostListRequestModel
    {
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }
        /// <summary>
        /// 患者ID
        /// </summary>
        public string pid { get; set; }
        /// <summary>
        /// 请求费用清单日期
        /// </summary>
        public string time { get; set; }
    }

    public class CostListResponseModel
    {
        /// <summary>
        /// code
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// msg
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 医院ID
        /// </summary>
        public string hospid { get; set; }
        /// <summary>
        /// 患者ID
        /// </summary>
        public string pid { get; set; }

        /// <summary>
        /// 是否重新初始化同步
        /// </summary>
        public string isinit { get; set; }

        /// <summary>
        /// 费用清单信息
        /// </summary>
        public List<CostListResponseItemModel> item { get; set; }
    }

    public class CostListResponseItemModel
    {
        /// <summary>
        /// 日期
        /// </summary>
        public string time { get; set; }

        /// <summary>
        /// 当日合计
        /// </summary>
        public string total { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public CostListResponseTitleModel title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public List<CostListResponseContentModel> content { get; set; }
    }

    public class CostListResponseTitleModel
    {
        /// <summary>
        /// 品名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string spec { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string count { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string sum { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string ext1 { get; set; }
        /// <summary>
        /// 扩展2
        /// </summary>
        public string ext2 { get; set; }
    }
    public class CostListResponseContentModel
    {
        /// <summary>
        /// id 
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 费用产生的时间
        /// </summary>
        public string time { get; set; }
        /// <summary>
        /// 品名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string spec { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string count { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string sum { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string ext1 { get; set; }
        /// <summary>
        /// 扩展2
        /// </summary>
        public string ext2 { get; set; }
    }
}
